// 动画广告
<template>
<div>
    <div class="advertising" v-for='(item,index) in ad' :key="index">
        <img data-v-5f1ee272="" :src="item.pic">
    </div>
   
</div>
</template>

<script>
import axios from "axios"
export default {
data(){
    return{
        ad:[],
    }
},
async created(){
    let dataOf = await axios.get(
        "https://api1.34580.com/sz/home/getHomeInfo?platform=1500&sourcetype=9&accesstoken=&customerguid=&stationId=2141&channelID=0"
    )
    this.ad = dataOf.data.Data.floorInfoList[4].configInfoList
    // console.log(dataOf.data.Data.floorInfoList[5].configInfoList);

}
}
</script>

<style lang="stylus" scoped>
.advertising
    position relative
    >img
        width 100%
        height 146px
        display block

</style>